<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>画三角形</title>
</head>
<body>
<canvas height="500" width="500"></canvas>
<script src="demo.js"></script>
</body>
</html>